<?php
/**
 * 消费者
 */

use Php\Queue\RedisConfig;
use Php\Queue\Work;

include '../vendor/autoload.php';

$config = (new RedisConfig)->setHost('192.168.174.131')->setPort('6379')->setAuth('123456')->setSelect(0);
$work = new Work($config);
$work->run($argv);


